/**
 * Created by dongchen on 16/4/9.
 */
const _ = require('lodash');
const axios = require('axios');
const { ls } = require('shelljs');

const constant = {
    Gender : {
        '男':1,
        '女':0
    },
    TASK_STATUS : {
        'DELETED' : 0,
        'INACTIVE': 1,
        'ACTIVATED' : 2,
        'DONE' : 3,
        'ERROR':4
    }
};


const areaOptions = {
    url: 'https://kzlocation.market.alicloudapi.com/api-mall/api/mobile_location/query',
    method: "POST",
    headers: { 'Authorization': 'APPCODE 0959a450496a45fe825a755b1e5f3da4' ,
        'Content-Type':'application/x-www-form-urlencoded; charset=UTF-8'
    },
    data : {mobile : '18314379060'}
}
async function aaa(){
    const response = await axios(areaOptions)
    console.log(response.data);
}


module.exports = constant;
